<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    
  </style>
</head>
<body>
  
</body>
<script>


  const str = "abc123.zxc456.qwe.78.9asd.34df.h756";
  // const reg = new RegExp( "[0-9]+", "g" );
  const reg = new RegExp( "\\d+\\.", "g" );
  console.log( reg );
  console.log( str.match(reg) );

  
</script>
</html>